home *** CD-ROM | disk | FTP | other *** search
- %
- % $Header: snmptrapd.tex,v 3.0 91/05/17 16:16:15 jrd Rel $
- % Author: J. Davin
- % Copyright 1988, 1989, Massachusetts Institute of Technology
- %
-
- \newpage
- \subsection{The Snmptrapd Command}
-
- The snmptrapd command listens for SNMP trap messages
- arriving from the network and displays them as they
- arrive.
- It is coded to run in a BSD 4.3 UNIX environment.
-
- The code for the snmptrapd command illustrates the use of the
- Development Kit to accelerate development
- of network management applications as well as the
- use of the SNMP protocol {\it trap} operation.
-
- Sources for the snmptrapd command reside in the
- \verb"snmptrapd" subdirectory of the Development Kit
- distribution hierarchy.
-
- It is invoked with the syntax:
-
- {\bf snmptrapd} [{\bf -p} {\it remotePort}] [{\bf -c} {\it communityName}]
-
- If the {\bf -p} flag is present, then the program
- will listen for trap messages
- at the UDP port specified as {\it remotePort,}
- instead of that assigned to the ``snmp-trap'' service
- in the \verb"/etc/services" database.
-
- If the {\bf -c} flag is present, then the program
- will generate and accept trap messages
- associated with the community name specified as {\it communityName,}
- instead of using the community name ``public.''
-
-